package com.mt.roll.wms.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mt.roll.core.dal.entity.CarTaskExecutionInfoHis;
import com.mt.roll.wms.params.CarTaskExecutionInfoHisQueryParam;
import com.mt.roll.wms.vo.CarTaskExecutionInfoHisVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface CarTaskExecutionInfoHisVoMapper extends BaseMapper<CarTaskExecutionInfoHis> {

    CarTaskExecutionInfoHisVo getById(Long id);

    IPage<CarTaskExecutionInfoHisVo> pageByTerm(Page<CarTaskExecutionInfoHisVo> page,@Param("params") CarTaskExecutionInfoHisQueryParam carTaskExecutionInfoHisQueryParam);
}
